package com.ruoyi.floor.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.build.domain.HouseBuilder;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼层对象 house_floor
 * 
 * @author hct
 * @date 2022-02-11
 */
@Data
public class HouseFloor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 所属楼宇 */
    @Excel(name = "所属楼宇")
    private Long builderId;
 
    /** 楼层名称 */
    @Excel(name = "楼层名称")
    private String floorTitle;

 
    /** 层号 */
    @Excel(name = "层号")
    private Integer floorNum;

    private HouseBuilder houseBuilder;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("builderId", getBuilderId())
            .append("createTime", getCreateTime())
            .append("floorTitle", getFloorTitle())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("floorNum", getFloorNum())
            .toString();
    }
}
